/**
 * 
 */
package com.williamoneil.charts.shared;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Gudipati
 *
 */
public class ResponseHeader implements Serializable {

	/**
	 * default serial version id
	 */
	private static final long serialVersionUID = 1L;
	
	private boolean error = false;
	private String errorMessage = null;
	private Date responseTime = null;
	
	public boolean isError() {
		return error;
	}
	public void setError(boolean error) {
		this.error = error;
	}
	public String getErrorMessage() {
		return errorMessage;
	}
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}
	public Date getResponseTime() {
		return responseTime;
	}
	public void setResponseTime(Date responseTime) {
		this.responseTime = responseTime;
	}
}
